// Dragon Gate at Swamp Bog

void portal(Player @player, Portal @portal) {
if (player.getItemAmount(3992040) > 0) // Map of Phantom Forest
	player.changeMap(610010201, "B2_1");
}